package com.tensquare.qa.pojo;

import lombok.Data;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.IdClass;
import javax.persistence.Table;
import java.io.Serializable;

/**
 * @program: tensquare-project
 * @description:
 **/
@Entity
@Table(name="tb_pl")
@Data
@IdClass(PL.class)//设置联合主键
public class PL implements Serializable {

    @Id
    private String problemid;
    @Id
    private String labelid;
}
